package spotGUI.floatingChatGUI;

import java.net.URL;
import java.util.Date;

import managers.conversationManager.Conversation;
import managers.conversationManager.FileTransferManager;

public interface FloatingChat {

	public static final URL ERROR_ICON = SingleConversationPanel.class.getResource("/images/Icons/24x24px/process_remove.png");
	public static final URL MESSAGE_ERROR_ICON = SingleConversationPanel.class.getResource("/images/Icons/24x24px/mail_delete.png");
	public static final URL WRITING_ICON = SingleConversationPanel.class.getResource("/images/Icons/24x24px/mail_edit.png");
	public static final URL WORKING_ICON = SingleConversationPanel.class.getResource("/images/Icons/24x24px/process.png");
	

	public void setReceiverName(String name);

	public String getReceiverName();

	public void updateStatus(String text, URL workingIcon);

	public void updateConversation(Object message, boolean incoming, Date date);

	public void setEnabled(boolean enabled);

	public void setConversation(Conversation conversation);
	
	public Conversation getConversation();
	
	public void insertString (String string);

	public FileTransferManager getFiletransferManager ();

	public void enableFeatures(String feature, boolean enabled);

	public void setVisible(boolean visible);

	public void setFeature(String feature, Object listener);

}